package com.yjc.springcloud.alibaba.mapper;

import com.yjc.springcloud.alibaba.domain.Order;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author shkstart
 * @create 2022-08-17 21:19
 */
@Mapper
public interface OrderMapper {

    //创建订单
    void createOrder(Order order);

    //完成订单
    void updateOrder(@Param("userId") Long userId, @Param("status") Integer status);
}
